package com.smmisia.article.service;

import com.smmisia.article.entity.Attraction;
import com.baomidou.mybatisplus.extension.service.IService;
import com.smmisia.article.request.AttractionCreateRequest;
import com.smmisia.article.request.AttractionUpdateRequest;
import com.smmisia.article.response.AttractionResponse;
import com.smmisia.common.Result.Result;

import java.util.List;


public interface AttractionService extends IService<Attraction> {

    Result<Boolean> create(AttractionCreateRequest attractionCreateRequest);

    Result<Boolean> updateInfo(AttractionUpdateRequest attractionUpdateRequest);

    Result<Boolean> delete(Integer id);

    Result<AttractionResponse> info(Integer id);

    Result<List<AttractionResponse>> getList(Integer id);
}
